<template>
  <div id="app">
    <router-view v-if="isRouterAlive"></router-view>

  </div>
</template>

<script>

export default {
  
  name: 'App',
  data() {
            return{
                isRouterAlive: true                    //控制视图是否显示的变量
            }
        },
      

}
</script>

<style scoped>

</style>
